package com.xian.cloud;

import de.codecentric.boot.admin.config.EnableAdminServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: xlr
 * @Date: Created in 下午11:02 2018/11/7
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAdminServer
@Configuration
@MapperScan("com.xian.cloud.dao")
public class AdminServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminServerApplication.class, args );
    }
}
